home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000417_news@columbia.edu _Tue Jul 18 12:40:49 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  8KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA02250
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 18 Jul 2000 12:40:48 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA17884
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 18 Jul 2000 12:40:48 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA00892
  10.     for kermit.misc@watsun.cc.columbia.edu; Tue, 18 Jul 2000 12:30:57 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: "Mr. Scott" <scott_davis@my-deja.com>
  13. Subject: Re: Wierd dialing problems
  14. Date: Tue, 18 Jul 2000 16:23:40 GMT
  15. Organization: Deja.com - Before you buy.
  16. Message-ID: <8l209m$tu3$1@nnrp1.deja.com>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <8l008u$ge5$1@newsmaster.cc.columbia.edu>,
  20.   fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
  21. > In article <8kvv01$eg7$1@nnrp1.deja.com>,
  22. > Mr. Scott  <scott_davis@my-deja.com> wrote:
  23. > : These problems relate to kermit 7.0.197 on AIX 4.2
  24. > :
  25. > : Problem 1.
  26. > : When dialing, kermit sends the flow control commands BEFORE it sends
  27. > : the init string.  Is this correct?  Shouldn't the init string be the
  28. > : first thing sent!?
  29. > :
  30. > That would seem to make sense, but since flow control is not part of
  31. > the init string, it turns out to be essential to send the flow control
  32. > command first, otherwise the init string (which can be rather long)
  33. > might cause buffer overruns in the modem's UART.
  34.  
  35. But the init string is ATZ, which hoses the previously set flow-control.
  36. So the sequence of events transpires like this:
  37. A) kermit sets flow control to hardware,
  38. B) kermit sends the initialization string which changes it,
  39. C) things screw up
  40.  
  41. > It sounds like a flow control issue.  What kind of modem is it, what
  42. > kind of modem did you tell Kermit it is, and which kind of flow
  43. control
  44. > are you using?
  45.  
  46. It is a 3com OfficeConnect 56K.
  47. I set it to use RTS flow control, and the Unix port is set the same.
  48. Here is the macro I use to described it to kermit:
  49.  
  50. define describe-3com-modem {
  51.     assign modem-name 3com
  52.     set modem type user-defined
  53.     set modem name 3com
  54.     set modem capabilities AT SB HWFC SWFC EC DC
  55.     set modem maximum-speed 38400
  56.     set modem speed-matching off
  57.     set modem flow-control rts
  58.     set modem hangup-method modem-command
  59.     set modem dial-command ATDT%s\{13}
  60.     set modem command no-flow-control AT&H0&I0&R1\{13}
  61.     set modem command software-flow AT&H2&I2&R1\{13}
  62.     set modem command hardware-flow AT&H1&I0&R2\{13}
  63.     set modem command init-string ATZ\{13}
  64.     set modem command error-correction off AT&M0\{13}
  65.     set modem command error-correction on AT&M4\{13}
  66.     set modem command compression off AT&K0\{13}
  67.     set modem command compression on AT&K1\{13}
  68.     set modem command speaker off ATM0\{13}
  69.     set modem command speaker on ATM1\{13}
  70.     set modem command volume low ATL1\{13}
  71.     set modem command volume medium ATL2\{13}
  72.     set modem command volume high ATL3\{13}
  73.     set modem command autoanswer off ATS0=0\{13}
  74.     set modem command autoanswer on ATS0=1\{13}
  75.     set modem command hangup-command ATH\{13}
  76.     echo The 3com modem bank configuration settings are now active.
  77. }
  78.  
  79.  
  80. Sent via Deja.com http://www.deja.com/
  81. Before you buy.
  82. From news@columbia.edu  Tue Jul 18 12:40:49 2000
  83. Return-Path: <news@columbia.edu>
  84. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  85.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA23866
  86.     for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 18 Jul 2000 12:40:49 -0400 (EDT)
  87. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  88.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA17887
  89.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 18 Jul 2000 12:40:48 -0400 (EDT)
  90. Received: (from news@localhost)
  91.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA01270
  92.     for kermit.misc@watsun.cc.columbia.edu; Tue, 18 Jul 2000 12:37:57 -0400 (EDT)
  93. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  94. From: fdc@columbia.edu (Frank da Cruz)
  95. Subject: Re: Wierd dialing problems
  96. Date: 18 Jul 2000 16:37:56 GMT
  97. Organization: Columbia University
  98. Message-ID: <8l2154$17g$1@newsmaster.cc.columbia.edu>
  99. To: kermit.misc@columbia.edu
  100.  
  101. In article <8l209m$tu3$1@nnrp1.deja.com>,
  102. Mr. Scott  <scott_davis@my-deja.com> wrote:
  103. : In article <8l008u$ge5$1@newsmaster.cc.columbia.edu>,
  104. :   fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
  105. : > In article <8kvv01$eg7$1@nnrp1.deja.com>,
  106. : > Mr. Scott  <scott_davis@my-deja.com> wrote:
  107. : > : These problems relate to kermit 7.0.197 on AIX 4.2
  108. : > :
  109. : > : Problem 1.
  110. : > : When dialing, kermit sends the flow control commands BEFORE it sends
  111. : > : the init string.  Is this correct?  Shouldn't the init string be the
  112. : > : first thing sent!?
  113. : > :
  114. : > That would seem to make sense, but since flow control is not part of
  115. : > the init string, it turns out to be essential to send the flow control
  116. : > command first, otherwise the init string (which can be rather long)
  117. : > might cause buffer overruns in the modem's UART.
  118. : But the init string is ATZ, which hoses the previously set flow-control.
  119. :
  120. Well, ATZ is an init string that you defined, not the built-in one.  So
  121. if you want ATZ as the init string, then you should set the profile that
  122. is restored by ATZ to not hose flow control.
  123.  
  124. : So the sequence of events transpires like this:
  125. : A) kermit sets flow control to hardware,
  126. : B) kermit sends the initialization string which changes it,
  127. : C) things screw up
  128. : > It sounds like a flow control issue.  What kind of modem is it, what
  129. : > kind of modem did you tell Kermit it is, and which kind of flow
  130. : > control are you using?
  131. : It is a 3com OfficeConnect 56K.
  132. : I set it to use RTS flow control, and the Unix port is set the same.
  133. : Here is the macro I use to described it to kermit:
  134. : define describe-3com-modem {
  135. :     assign modem-name 3com
  136. :     set modem type user-defined
  137. :     set modem name 3com
  138. :     set modem capabilities AT SB HWFC SWFC EC DC
  139. :     set modem maximum-speed 38400
  140. :     set modem speed-matching off
  141. :     set modem flow-control rts
  142. :     set modem hangup-method modem-command
  143. :     set modem dial-command ATDT%s\{13}
  144. :     set modem command no-flow-control AT&H0&I0&R1\{13}
  145. :     set modem command software-flow AT&H2&I2&R1\{13}
  146. :     set modem command hardware-flow AT&H1&I0&R2\{13}
  147. :     set modem command init-string ATZ\{13}
  148. :     set modem command error-correction off AT&M0\{13}
  149. :     set modem command error-correction on AT&M4\{13}
  150. :     set modem command compression off AT&K0\{13}
  151. :     set modem command compression on AT&K1\{13}
  152. :     set modem command speaker off ATM0\{13}
  153. :     set modem command speaker on ATM1\{13}
  154. :     set modem command volume low ATL1\{13}
  155. :     set modem command volume medium ATL2\{13}
  156. :     set modem command volume high ATL3\{13}
  157. :     set modem command autoanswer off ATS0=0\{13}
  158. :     set modem command autoanswer on ATS0=1\{13}
  159. :     set modem command hangup-command ATH\{13}
  160. :     echo The 3com modem bank configuration settings are now active.
  161. : }
  162. This definition looks substantially like the built-in USR definition.
  163. How come you didn't just "set modem type usr" and use that?  Is there
  164. a problem with it?
  165.  
  166. - Frank